package com.example.leetcode.string;

import com.example.leetcode.string.common.StringUtils;

class SolutionOffer58 {
    public String reverseLeftWords(String s, int n) {
        return StringUtils.reverseLeftWords(s, n);
    }
}

/**
 * 剑指 Offer 58 - II. 左旋转字符串
 */
public class offer58 {
    public static void main(String[] args) {
        SolutionOffer58 solutionOffer58 = new SolutionOffer58();
        System.out.println(solutionOffer58.reverseLeftWords("abcdefg", 2));
        System.out.println(solutionOffer58.reverseLeftWords("lrloseumgh", 6));
    }
}
